home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Dev / gcc263-src.lha / gcc-2.6.3 / config / m88k / sysv4.h < prev    next >
C/C++ Source or Header  |  1994-03-23  |  2KB  |  67 lines

  1. /* Definitions of target machine for GNU compiler.
  2.    Motorola 88100 in an 88open ABI environment.
  3.    Copyright (C) 1990, 1991 Free Software Foundation, Inc.
  4.  
  5.    Written by Ron Guilmette (rfg@netcom.com).
  6.    Contributed to FSF by Network Computing Devices.
  7.  
  8.    Other contributions by Vince Guarna (vguarna@urbana.mcd.mot.com),
  9.    Ray Essick (essick@i88.isc.com), Wilson Tien (wtien@urbana.mcd.mot.com),
  10.    and Tom Wood (Tom_Wood@NeXT.com)
  11.  
  12. This file is part of GNU CC.
  13.  
  14. GNU CC is free software; you can redistribute it and/or modify
  15. it under the terms of the GNU General Public License as published by
  16. the Free Software Foundation; either version 2, or (at your option)
  17. any later version.
  18.  
  19. GNU CC is distributed in the hope that it will be useful,
  20. but WITHOUT ANY WARRANTY; without even the implied warranty of
  21. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  22. GNU General Public License for more details.
  23.  
  24. You should have received a copy of the GNU General Public License
  25. along with GNU CC; see the file COPYING.  If not, write to
  26. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  27.  
  28. /* DWARF_DEBUGGING_INFO defined in svr4.h.  */
  29.  
  30. #ifndef NO_BUGS
  31. #define AS_BUG_DOT_LABELS
  32. #define AS_BUG_POUND_TYPE
  33. #endif
  34.  
  35. #include "svr4.h"
  36. #include "m88k/m88k.h"
  37.  
  38. /* Identify the compiler.  */
  39. #undef  VERSION_INFO1
  40. #define VERSION_INFO1 "88open ABI, "
  41.  
  42. /* Default switches */
  43. #undef    TARGET_DEFAULT
  44. #define TARGET_DEFAULT    (MASK_CHECK_ZERO_DIV | \
  45.              MASK_OCS_DEBUG_INFO | \
  46.              MASK_SVR4)
  47.  
  48. /* Cpp spec.  These pre-assertions are needed for SVR4 as they occur
  49.    often in the system header files.  __svr4__ is our extension.  */
  50.  
  51. #undef  CPP_PREDEFINES
  52. #define CPP_PREDEFINES \
  53.   "-Dm88000 -Dm88k -Dunix -D__svr4__ -Amachine(m88k) -Acpu(m88k) -Asystem(unix) -Asystem(svr4)"
  54.  
  55. /* For the AT&T SVR4 port, the function is _mcount.  */
  56. #undef    FUNCTION_PROFILER
  57. #define FUNCTION_PROFILER(FILE, LABELNO) \
  58.   output_function_profiler (FILE, LABELNO, "_mcount", 1)
  59.  
  60. /* Override svr4.h and m88k.h.  */
  61. #undef    INIT_SECTION_ASM_OP
  62. #define INIT_SECTION_ASM_OP "section\t.init,\"xa\",#progbits"
  63. #undef    CTORS_SECTION_ASM_OP
  64. #define CTORS_SECTION_ASM_OP    "section\t.ctors,\"a\",#progbits"
  65. #undef    DTORS_SECTION_ASM_OP
  66. #define DTORS_SECTION_ASM_OP    "section\t.dtors,\"a\",#progbits"
  67.